<!--
	作者：柯汉龙
	时间：2017-04-05
-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>搜索记录</title>
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/search_record.css" />
		
		<script type="text/javascript" src="js/angular.min.js" ></script>
		<script type="text/javascript" src="js/search_record.js" ></script>
	</head>
	<body ng-app="myApp" ng-controller="myCtrl">
		<header>
			<span class="return"><a href="javascript:void(0)" onclick="javascript :history.go(-1)"><img src="image/返回.png"></a></span>
			<span class="search_content"><input type="text" id="search_input" placeholder="输入搜索的内容" ng-model="searchContent"/></span>
			<span class="search_btn"><button ng-click="toSearch()">搜索</button></span>
		</header>
		<section>
			<div class="record" ng-if="show">
				<h2>历史记录</h2>
				<ul>
					<li ng-repeat=" k in arr " ng-click="findThis(k)"><span>{{ k }}</span></li>
				</ul>
				<div id="remove">
					<div id="remove_record" ng-click="removeRecord()">清除历史记录</div>
				</div>
			</div>
		</section>
	</body>
</html>
